let mongoose = require('mongoose');
     mongoose.connect('mongodb+srv://mayaxin:m1234567890@mayaxin.tqqby.mongodb.net/Hospital').then(()=>{
         console.log('connected to db');
     }).catch((err)=>{
         console.log('服务器错误'+err);
     })
module.exports = mongoose;
